{% if error_msg %}{{error_msg}}{% endif %}
var accord_data = [{% for ac in comp_set %}
  { id : {{ac.id}},
    data : {
      chem_name : "{{ac.chem.name}}",
      dilution : "{{ ac.dilution|floatformat }}",
      amount : '{{ ac.amount|floatformat:"-3" }}',
    },
  },{% endfor %}
];
$('dbg').value = "{{error_msg}}";
deserialize_data(accord_data);
